package xx.template.design;

/**
 * @Classname BubbleSorter
 * @Description TODO
 * @Date 2023/7/25 14:15
 * @Created by wangxianlin
 */
public class BubbleSorter extends ArraySorter {
    @Override
    protected void selectAlgorithm() {
        System.out.println("Bubble sorting algorithm selected.");
    }

    @Override
    protected void sortArray(int[] array) {
        // 具体的冒泡排序算法实现
    }
}
